package com.yinxin.aop.AopTest.impl;

import com.yinxin.aop.AopTest.annotation.Log;
import com.yinxin.aop.AopTest.personServer;


public class personServerImpl implements personServer {

    @Log
    @Override
    public void save(String name, int age) {
        int a=0;
//        age = age/a;//打开上面两行报错可触发异常通知
        System.err.println("进入了保存方法！");
//        throw new RuntimeException("这里抛了一个异常!");
    }
}
